<?php
require_once(dirname(dirname(__FILE__)) . '/app.php');

$email = $_GET['email'];
$user = Users::GetUserByEmail($email);


if( $user == null ){
	Output::Json("user is null", -1);
}else{
	Output::Json($user);
}
